@font-face {
    font-family: 'BYekan';
    src: url('../fonts/iranyekanweblight.ttf') format('truetype'), url('../fonts/iranyekanweblight.woff') format('woff');
}

body {
    font-family: 'BYekan' !important;
}

*,
*:focus {
    outline: none;
    color: inherit;
    text-decoration: none;
    box-sizing: border-box;
}

.shabnamBold {
    font-family: 'BYekan';
    font-weight: bold;
}

.clear {
    clear: both;
}

a {
    color: #fff;
    text-decoration: none !important;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
}

.home-content-wraper {
    height: 100vh;
    display: flex;
    overflow: hidden;
    padding: 0;
    flex-direction: row-reverse;
}

    .home-content-wraper .home-items {
        padding: 0;
        height: 100vh;
        vertical-align: top;
        background: #000;
        color: #FFF;
        position: relative;
        overflow: hidden;
        pointer-events: auto;
    }

.cover-img {
    position: absolute;
    width: 100%;
    height: 100vh;
    transition: opacity 3s cubic-bezier(.19, 1, .22, 1), transform 15s cubic-bezier(.19, 1, .22, 1);
    opacity: 0.3;
}

.first-cover-img {
    opacity: 0.6
}

.home-items:hover .cover-img {
    transform: scale(1.15, 1.15);
    opacity: 1;
}

.home-items .cover-txt h3 {
    height: 5rem;
}

.home-content-wraper .home-items .cover-img img {
    height: 100vh;
    margin-top: 0 !important;
    /*width: 100%;*/
}

.home-content-wraper .home-items .cover-txt {
    padding: 40px 0 0;
    overflow: hidden;
    white-space: normal;
    display: flex;
    height: calc(100vh - 40px);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-family: Byekan;
    text-align: center;
    font-size: 12px;
    mix-blend-mode: exclusion;
    transition: 1s cubic-bezier(.19, 1, .22, 1) 0s;
}

.home-content-wraper .home-items:hover .cover-txt h3 span {
    top: -120px;
    transition: 1s cubic-bezier(.19, 1, .22, 1) 0s;
}

.home-content-wraper .home-items:hover .ptp-home-text h3 span {
    top: -60px;
}

.home-content-wraper .home-items:hover .airfiber-text h3 span {
    top: -75px;
}

.home-content-wraper .home-items:hover .tdlte-text h3 span {
    top: -85px;
}

.home-content-wraper .home-items:hover .cover-txt {
    mix-blend-mode: lighten;
}

.home-content-wraper .home-items .cover-txt {
    position: relative;
    z-index: 1;
}

    .home-content-wraper .home-items .cover-txt h2.x-mouve img {
        width: 70px;
    }

.ptp-home-text h3 {
    height: 3rem;
}

.home-content-wraper .home-items .cover-txt a {
    text-decoration: none;
    color: #fff;
}

h3 span {
    position: relative;
    top: 0;
    transition: 1s cubic-bezier(.19, 1, .22, 1) 0.2s;
    mix-blend-mode: difference;
    padding: 5px 0;
    font-family: Byekan,'Muli', sans-serif;
    letter-spacing: initial;
    font-size: 21px;
    color: #fff;
    line-height: 35px;
}

    h3 span:nth-child(2) {
        top: 13px;
        font-family: Byekan;
    }

h3 {
    font-size: 34px;
    letter-spacing: 2px;
    overflow: hidden;
    padding: 10px 14px 10px 14px;
    height: 8rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    font-weight: 400;
}

.home-items:hover h3 span:nth-child(2):before {
    top: 0;
    transition: 1s cubic-bezier(.19, 1, .22, 1) 0.2s;
}

h3 span:nth-child(2):before {
    content: '';
    background: #FFF;
    position: absolute;
    top: 40px;
    left: -10px;
    right: -10px;
    height: 100%;
    transition: 1s cubic-bezier(.19, 1, .22, 1) 0s;
    mix-blend-mode: difference;
}

.home-items .cover-txt p {
    top: 60%;
    padding: 0 80px;
    overflow: hidden;
    height: auto;
    transition: 1s cubic-bezier(.19, 1, .22, 1);
    margin-top: 0;
    max-height: 0;
    font-size: 28px;
    font-family: Byekan;
    color: #ffffff;
    font-weight: bold;
}

.home-items:hover .cover-txt p {
    max-height: 50px;
}

.home-items:hover .cover-txt p {
    max-height: 100px;
    color: #fff;
}

h1.solgan-text-home strong.tedxtehran {
    font-size: 40px !important;
}

h1 {
    font-weight: 400;
    font-size: 3em;
    text-align: center;
}

.home-items .cover-txt .solgan-text-home {
    padding: 30px 15px;
    transition: 1s cubic-bezier(.19, 1, .22, 1) 0s;
    font-size: 28px;
    line-height: 54px;
    -webkit-transition: all 1s linear;
    -moz-transition: all 1s linear;
    -o-transition: all 1s linear;
    transition: all 0.5s ease-out;
    color: #ffffff;
}

    .home-items .cover-txt .solgan-text-home strong {
        font-weight: bold;
        font-size: 70px;
    }

.home-content-wraper .home-items:hover h1.solgan-text-home {
    /* background: #ffffffd4; */
    /* color: #000; */
    /* transition: 1s cubic-bezier(.19, 1, .22, 1) 0s; */
}

.spinner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    height: 100vh;
    text-align: center;
    background: #000000;
}

    .spinner img {
        margin-top: 50vh;
    }

.fp-tableCell {
    vertical-align: inherit !important;
}

a.scroll-down-main {
    position: absolute;
    bottom: 3em;
    right: 5px;
    display: none;
    transition: all 0.5s ease-out;
}

    a.scroll-down-main img {
        width: 3rem;
    }

#overlay {
    display: none;
    width: 100%;
    position: fixed;
    height: 100vh;
    top: 0;
    background: #000000b3;
    z-index: 9999;
}

    #overlay img {
        position: absolute;
        top: 28%;
        z-index: 9999;
        border-radius: 5px;
        right: 28%;
    }

@media screen and (max-width: 960px) {
    .home-content-wraper {
        display: inherit;
        height: auto;
    }

    #overlay img {
        width: 300px;
        right: 20%;
    }

    .home-content-wraper .home-items .cover-img img {
        width: inherit;
    }

    .spinner {
        display: none;
    }

    a.scroll-down-main {
        display: block;
    }

    .home-items .cover-txt p {
        font-size: 19px;
    }
}

@media only screen and (max-width: 700px) {
    .home-items .cover-txt p {
        font-size: 19px;
    }

    main {
        direction: rtl;
    }
}

@media (max-width: 1400px) {
    .home-items .cover-txt .solgan-text-home {
        font-size: 16px;
        line-height: 35px;
    }

        .home-items .cover-txt .solgan-text-home strong {
            font-size: 32px !important;
        }

    .home-items .cover-txt p {
        font-size: 19px;
    }
}
